﻿package com.winmastergames.rMath {

	public class Rrandom {
		// TODO: Document This Class on Wiki.
		public static function getRandom(lowNumber:int, highNumber:int):int {
			var thisNumber = highNumber - lowNumber;
			var randomUnrounded = Math.random() * thisNumber;
			var randomNumber = Math.round(randomUnrounded);
			randomNumber += lowNumber;
			return randomNumber;
		}
	}
}